﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace EasyCore.UnifyResult.Results
{
    public enum EasyStatusCodes
    {
        /// <summary>
        /// 数据处理成功
        /// </summary>
        Ok = 20000,

        /// <summary>
        /// 坏的请求
        /// </summary>
        BadRequest = 40000,

        /// <summary>
        /// 参数验证失败
        /// </summary>
        ParametersError = 40001, //参数验证错误

        /// <summary>
        /// 业务异常
        /// </summary>
        OperateBusinessException = 40002,

        /// <summary>
        /// 系统异常
        /// </summary>
        ApplicationException = 40003,

        /// <summary>
        /// 无上下文
        /// </summary>
        NoContent = 20004,

        /// <summary>
        /// 未认证
        /// </summary>
        Unauthorized = 40001,

        /// <summary>
        /// 未找到
        /// </summary>
        NotFound =40004,
    }
}
